package com.yj.ccs.abs.web.management.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Copyright 2018 (C) Yunjian-VC
 * Created on : 2018/3/14
 * Author     : Unbelievable9
 **/
@Data
public class ChangeStatusDto {

    @NotNull(message = "用户ID不能为空")
    @ApiModelProperty(value = "用户ID", required = true, example = "1")
    private Long id;

    @NotNull(message = "状态不能为空")
    @ApiModelProperty(value = "状态 true-启用 false-停用", required = true, example = "true")
    private Boolean active;
}
